Soundwell DYNAMIC
Soundwell Electronic Products (Guangdong) Co., Ltd.
TEL:+86(769)-38833333-881
Fax:sw@soundwell-cn.com
MAIL:soundwell868@soundwell.cn
Address:Guangdong Province Dongguan city Tangxia Town Phoenix Gang Sheng Wei Industrial Park
Photoelectric encoder applications in automobiles
Many car driving simulator can also use optical encoder as a sensor, which can measure the angle of rotation of the steering wheel, it is a collection of open collector output circuit type, a certain degree of output resolution, due to the car's steering wheel in both directions, clockwise and can be rotated counterclockwise, count required before the output signal of the encoder identify its phase.
When the optical encoder clockwise channel A leads channel B output waveform of the output waveform 90, D flip-flop output Q (waveform W1) is high, Q (waveform W2) is low, the above NAND gate open , by counting pulses (W3 of the waveform), the pulse applied to the input of the bidirectional counter in the CU 74LS193, counting with the addition; in this case, following the NAND gate closed, its output is high (waveform W4). When the counter-clockwise optical encoder, channel A Channel B output waveform of the output waveform delay than 90 °, D flip-flop output Q (waveform W1) is low, Q (waveform W2) is high above the NAND gate off, its output is high (W3 of the waveform); in this case, the following NAND gate opening, by counting pulses (W4 of the waveform), to the input of the pulse counter is decremented by bidirectional CD 74LS193, and counted in a subtraction method.
When the steering wheel is rotated clockwise and counterclockwise, the maximum rotation angles are twice and a half, use a resolution of 360 pulses / turn encoders, the maximum number of output pulses is 900; the actual use of the counting circuit with 3 output so that when the steering wheel is rotated clockwise, counter circuit; chip 74LS193 composition, power initialized on system, the first of its reset (CLR signal), then its initial value is set to 800H, ie 2048 (LD signal) in the range of 2048 - 2948, when the steering wheel is rotated counter-clockwise, counter circuit output in the range of 2048 - 1148; data counting circuit output D0 ~ D11 to the data processing circuit.
When we actually use the encoder, the steering wheel frequently and counterclockwise rotation clockwise, because there are errors in some details, after working for some time, the circuit output count when the steering wheel is not back in 2048, but there are several digital deviation; to resolve this error, we give the encoder adds a steering wheel gyrus detection circuit through the system after processing, in the case of data simulator is not running, the system has detected gyrus circuit, data steering wheel back in the state, and the output of the counter circuit is not 2048, counting circuit can be reset and re-set the initial value.
Prev: The encoder used in various industries Next: Adjustable potentiometer course of development